package com.kingzoder.food.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.kingzoder.food.common.base.LogicDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author ZoderKing
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("user")
public class User extends LogicDO {

    @TableId(type = IdType.AUTO)
    private Long id;
    private String username;
    private String avatar;
}
